package com.deyuanyun.pic.pbf.service.impl;


import com.deyuanyun.pic.pbf.domain.SurfaceTreatment;
import com.deyuanyun.pic.pbf.mapper.SurfaceTreatmentMapper;
import com.deyuanyun.pic.pbf.service.SurfaceTreatmentService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SurfaceTreatmentServiceImpl implements SurfaceTreatmentService {
    @Autowired
    private SurfaceTreatmentMapper surfaceTreatmentMapper;

    private static final Logger logger = LoggerFactory.getLogger(SurfaceTreatmentServiceImpl.class);

    public SurfaceTreatment selectByPrimaryKey(String id) {
        return this.surfaceTreatmentMapper.selectByPrimaryKey(id);
    }

    public int deleteByPrimaryKey(String id) {
        return this.surfaceTreatmentMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(SurfaceTreatment record) {
        return this.surfaceTreatmentMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(SurfaceTreatment record) {
        return this.surfaceTreatmentMapper.updateByPrimaryKey(record);
    }

    public int insert(SurfaceTreatment record) {
        return this.surfaceTreatmentMapper.insert(record);
    }
}